package com.graduate.twentyone.domain;


//返回的状态内容实体类

public class RestDate<T> {
    private Integer code;
    private  String mess;
//     返回的数据
     private  T  data;


    public RestDate() {
    }

    public RestDate(Integer code, String mess, T data) {
        this.code = code;
        this.mess = mess;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMess() {
        return mess;
    }

    public void setMess(String mess) {
        this.mess = mess;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
